#pragma once
#include "Mario.h"

#define BONUS_SPEED   0.3
#define BONUS_SIZE 35

class CBonuses :	public Mario
{
	static LPDIRECT3DTEXTURE9 _bounsImage;
public:
	static	void InitResoure(){_bounsImage=CSprites::LoadTexture("Images\\Bonus.png",0);}
	CBonuses(void);
	CBonuses(int left,int top,QuadTree *q,int kind,SOUND *sManager);
	int Move();
	void Collision(Object *Ob);
	void Draw(int VirtualLeft,int Style);
	~CBonuses(void);
};
